package co.edu.udistrital.analyzer.web.webservices;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import co.edu.udistrital.analyzer.newversion.DocumentSearchDto;

/**
 * @author Alejo
 * 
 */
@WebService
@SOAPBinding(style = Style.RPC)
public interface AnalyzerWebService {

	/**
	 * Search documents with the specified key words
	 * 
	 * @param newDocumentsIndexDir
	 * @param keyTerms
	 * @param hitsScore
	 * @return
	 */
	@WebMethod(operationName = "searchDocuments")
	@WebResult
	DocumentSearchDto[] search(@WebParam String newDocumentsIndexDir,
			@WebParam String keyTerms, float hitsScore);
}
